<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <style>
    html, body {
      height: 100vh;
      width: 100vw;
      background: linear-gradient(to right, rgba(0,255,0,0), rgba(0,255,0,.5));
    }
  </style>
</head>
<body>
<script src="../build/utils/debounce.js"></script>
<script>
  let handler = function() {
    console.log('OK')
  }
  document.addEventListener('click', debounce(handler, true))
</script>
</body>
</html>